<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--
<title>易购GO_购物返利_淘宝网_淘宝商城(天猫)_夏季新款 - 返利网,淘宝返利,淘宝返利网</title>
<meta name="keywords" content="淘宝网,淘宝商城,返利网,返利,淘宝返利网,淘宝返利" />
<meta name="description" content="注册返利网www.e35go.com不仅享受最高50%现金淘宝返利，还能获得京东、新蛋、凡客、当当、1号店、天猫等商城购物返利。返利只需三步（搜索、购物、返利）" />
-->
<{assign var="layout" value="3"}>
<{include file="_meta.html"}>
<style type="text/css">
.line {
    margin: 10px 0;
    text-align: center;
}
</style>
</head>

<body>
<{include file="_top.html"}>
<div id="Container">

	<!-- header -->
	<div id="Header" class="clearfix">
		<{assign var="menu" value="home"}>
		<{include file="_header.html"}>
	</div>
	<!-- /header -->
	
	<!-- body -->
	<div id="Body" class="clearfix">
	
		<!-- main -->
		<div id="Wrapper">
			<div id="Main">
				<!-- 提示 -->
				<div class="line">输入：<textarea id="txtIn" rows="7" cols="100" style="padding:5px;"></textarea></div>
				<div class="line"><input id="btnChange" type="button" value="转换" style="width:50px; height:30px;" /></div>
				<div class="line">输出：<textarea id="txtOut" rows="7" cols="100" style="padding:5px;"></textarea></div>
			</div>
		</div>
		<!-- /main -->
		
		<!-- sidebar -->
		<div id="SideBar"></div>
		<!-- /sidebar -->
	</div>
	<!-- /body -->
	
	<!-- footer -->
	<div id="Footer" class="clearfix"><{include file="_footer.html"}></div>
	<!-- /footer -->
</div>
</body>
</html>

<!-- JS -->
<{JS}>
<script type="text/javascript">
$(function() {
	$("#btnChange").click(function() {
		var txtIn = $("#txtIn").val().trim();
		if (txtIn == "") {
			alert("请输入链接！");
			return ;
		}
		
		///
		$.post("", 
			{txtIn: txtIn}, 
			function(data) {
				$("#txtOut").val(data);
				$("#txtOut").select();
			}
		);
	});
});
</script>
